From: Adrian Robert Date: Wed, 23 Sep 2009 01:07:45 +0000 (+0000) Subject: * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10348 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=788f0dfae2da12a09e3820cbf8f24aabbba4c062;p=emacs.git * nsterm.m (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. --- diff --git a/src/ChangeLog b/src/ChangeLog index fb35243614e..670800f1d2d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2009-09-22 Adrian Robert * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. + (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. * nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been deleted (bug #4492). diff --git a/src/nsterm.m b/src/nsterm.m index 8576ed1b484..e09037bceb5 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5946,7 +5946,7 @@ extern void update_window_cursor (struct window *w, int on); /* set a timer to repeat, as we can't let superclass do this modally */ scroll_repeat_entry - = [[NSTimer scheduledTimerWithTimeInterval: 0.5 + = [[NSTimer scheduledTimerWithTimeInterval: SCROLL_BAR_FIRST_DELAY target: self selector: @selector (repeatScroll:) userInfo: 0